package com.slz3.business.module.wmsManagement.wmsWarehouseManage.service;

import com.slz3.business.module.wmsManagement.wmsWarehouseManage.domain.WmsWarehouseManage;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface WmsWarehouseManageService {

    WmsWarehouseManage save(WmsWarehouseManage wmsWarehouseManage);

    Page<WmsWarehouseManage> page(MultiValueMap<String, String> queryParams);

    WmsWarehouseManage modify(WmsWarehouseManage wmsWarehouseManage);

    Optional<WmsWarehouseManage> single(UUID uuid);

    List<WmsWarehouseManage> findAllByUuids(Iterable<UUID> uuids);

    List<WmsWarehouseManage> delete(List<WmsWarehouseManage> wmsWarehouseManageList);

    List<WmsWarehouseManage> getHouseAndArea();

}
